<?php

use yii\helpers\Html;
use yii\helpers\Url;

/* @var $this yii\web\View */
/* @var $dataProvider yii\data\ActiveDataProvider */

$this->title = $model['title'];
?>
<style>
.modal-dialog img{width:100%}
</style>
<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
<script>
  wx.config({
    debug: false,
    appId: '<?php echo $signPackage["appId"];?>',
    timestamp: <?php echo $signPackage["timestamp"];?>,
    nonceStr: '<?php echo $signPackage["nonceStr"];?>',
    signature: '<?php echo $signPackage["signature"];?>',
    jsApiList: [
        'onMenuShareTimeline',
        'onMenuShareAppMessage',
    ]
  });
  wx.ready(function () {
    wx.hideOptionMenu({
    });
  });
</script>

<div class="row" style="margin:0 -15px;">
<img src="http://www.lsol.com.cn/ad/lyb.jpg" class="img-responsive" />
<div class="col-xs-12" style="padding:0 1px;">
<div class="panel panel-default modal-dialog">
  <div class="panel-heading"><?= $model->title?></div>
  <div class="panel-body">
    <?= $model->digest?>
  </div>
</div>
</div>
</div>
